export type ResType = {
	code: string | number
	data: any
	msg: string
}

export type DialogType = 'info' | 'success' | 'error' | 'warning'

export type DialogOptions = {
	icon?: string
	iconColor?: string
	titleT?: string | [string, any]
	title?: string
	contentT?: string | [string, any]
	content?: string
	contentH?: any
	contentIndent?: boolean
	confirmShow?: boolean
	confirmTextT?: string | [string, any]
	confirmText?: string
	cancelShow?: boolean
	cancelTextT?: string | [string, any]
	cancelText?: string
	confirmFn?: any
	cancelFn?: any
	closeFn?: any
}

export interface SelectOptions {
	id: string | number
	text?: string
	textT?: string | [string, any]
	icon?: string
	img?: string
}

export enum Action {
	focus = 'focus',
	input = 'input',
	blur = 'blur',
	submit = 'submit',
	reset = 'reset'
}
